package cn.iocoder.yudao.module.wine.controller.app.uservisitor.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;
import java.time.LocalDateTime;

@Schema(description = "用户 APP - 访客信息新增/修改 Request VO")
@Data
public class AppUserVisitorSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "8627")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25901")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(description = "访客id", requiredMode = Schema.RequiredMode.REQUIRED, example = "18691")
    @NotNull(message = "访客id不能为空")
    private Long visitorId;

    @Schema(description = "来访时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "来访时间不能为空")
    private LocalDateTime accessTime;

}